$(document).ready(function()
	{
	$("#genRep").change(function()
		{
		
		var stat=$('#genRep').val();
		var dataString = 'stat='+ stat;
		//alert(stat);
		$.ajax
		({
			type: "POST",
			url: "controller/execute/generateRep.php",
			data: dataString,
			cache: false,
			success: function(html)
				{
				$("#genRepRes").html(html);
				//$('#myModal').modal('show');
				} 
		});
		
	});

});
